package com.zte.market.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName("orders")
public class MarketOrders implements Serializable {
  @TableId
  private String orderid;
  private Integer customid;
  private String customName;
  private String telephone;
  @JsonFormat(pattern = "yyyy-MM-dd")
  private Date ordertime;
  private Double ordermoney;
  private Integer operatorid;
  private String operatorName;
  private Integer status;
  private Integer checkid;
  private String checkName;
  @JsonFormat(pattern = "yyyy-MM-dd")
  private Date chectime;
  private String opinion;
  private Integer warehouseId;
  private Integer ddState;
  private List<MarketOrderdetails> orderdetails;
}
